<template>
  <div>
    <vCommonPage :title="$route.query.altertitle">
      <div slot="customContent">
        <!-- start:自定义页面内容 -->
            哈哈哈哈哈
        <!-- end:自定义页面内容 -->
      </div>
    </vCommonPage>
  </div>
</template>


<script>
// import readingDzjkk from "@images/readcard/reading04.png";//集安
import readingDzjkk from "@images/readcard/reading01.png";
export default {
  name: "Input",
  data() {
    return {
      cardNo: "",
      showWaitingModal: true,
      readingUrl:this.loginUrl
    };
  },
    props:{
    loginUrl:String,
  },
  methods: {
      ReadedCard() {
				this.$emit('ReadedCard',  this.cardNo.slice(0,64));//截取健康卡前64位
      },
         handleClose() {
        this.$confirm('确认取消读卡?')
          .then(_ => {
           this.$router.push({ name: "home" });
          })
          .catch(_ => {
            this.$nextTick(function() {
            this.$refs.autofocus.focus()
        });
          });
      },
      },
  mounted(){
    console.log("hahaha")
    this.$nextTick(function() {
      this.$refs.autofocus.focus()
    });
  }
};
</script>

<style scoped>

</style>